package com.example.lwy.yuejian11.fragment;

import android.graphics.Color;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.example.lwy.yuejian11.base.BaseFragment;

/**
 * Created by gy on 2017/9/27.
 * 俱乐部Fragment
 */

public class ThirdPartyFragment extends BaseFragment {
    private static final String TAG = ThirdPartyFragment.class.getSimpleName() ;//得到的CommonFrameFragment
    private TextView textView;
    @Override
    protected View initview() {
        Log.e(TAG,"俱乐部页面框架被初始化了...");
        textView = new TextView(mContext);
        textView.setTextSize(20);
        textView.setGravity(Gravity.CENTER);
        textView.setTextColor(Color.RED);
        return null;
    }

    @Override
    protected void initdata() {
        super.initdata();
        Log.e(TAG,"俱乐部页面数据被初始化了...");
        textView.setText("俱乐部页面");
    }
}
